VERSION=v14.17.0
DISTRO=linux-arm64

wget https://nodejs.org/dist/v14.17.0/node-$VERSION-$DISTRO.tar.xz

mkdir -p /usr/local/lib/nodejs
tar -xJvf node-$VERSION-$DISTRO.tar.xz -C /usr/local/lib/nodejs

echo -e "# Nodejs \n VERSION=$VERSION \n DISTRO=$DISTRO \n export PATH=/usr/local/lib/nodejs/node-\$VERSION-\$DISTRO/bin:$PATH" >> ~/.bashrc

source ~/.bashrc